ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / LinearGradientBrush Class / Create Method / Create(RenderTarget,LinearGradientBrushProperties,Nullable<BrushProperties>,GradientStopCollection) Method
an instance of RenderTarget
The start and end points of the gradient.
The transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.
A collection of GradientStop structures that describe the colors in the brush's gradient and their locations along the gradient line.

In This Topic
    Create(RenderTarget,LinearGradientBrushProperties,Nullable<BrushProperties>,GradientStopCollection) Method
    In This Topic
    Creates an LinearGradientBrush that contains the specified gradient stops and has the specified transform and base opacity.
    Syntax

    Parameters

    renderTarget
    an instance of RenderTarget
    linearGradientBrushProperties
    The start and end points of the gradient.
    brushProperties
    The transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.
    gradientStopCollection
    A collection of GradientStop structures that describe the colors in the brush's gradient and their locations along the gradient line.
    See Also